from langchain.prompts.chat import (
    ChatPromptTemplate,
)


res_cp = ChatPromptTemplate.from_messages([
    (
        "system",
        "You are a helpful assistant that translates {input_language} to {output_language}.",
    ),
    ("human", "{text}"),
])
print(res_cp)